package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/1/4.
 */

public class LH20orderHistoryData {


    /**
     * msg : success
     * status : 0
     * data : [{"ordersn":"ETH-20190808-a12079113234","tubiao":"/static/images/lianghua.png","tubiaoName":"AlphaGo","orderLevel":"2","days":"4","startDate":1565235154000,"status":0}]
     * success : false
     * timestamp : 1565622937768
     * total : 5
     */

    private String msg;
    private int status;
    private boolean success;
    private long timestamp;
    private int total;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean extends BaseAdapter.BaseItem {
        /**
         * ordersn : ETH-20190808-a12079113234
         * tubiao : /static/images/lianghua.png
         * tubiaoName : AlphaGo
         * orderLevel : 2
         * days : 4
         * startDate : 1565235154000
         * status : 0
         */

        private String ordersn;
        private String tubiao;
        private String tubiaoName;
        private int orderLevel;
        private String days;
        private long startDate;
        private int status;
        private int type;

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public String getTubiao() {
            return tubiao;
        }

        public void setTubiao(String tubiao) {
            this.tubiao = tubiao;
        }

        public String getTubiaoName() {
            return tubiaoName;
        }

        public void setTubiaoName(String tubiaoName) {
            this.tubiaoName = tubiaoName;
        }

        public int getOrderLevel() {
            return orderLevel;
        }

        public void setOrderLevel(int orderLevel) {
            this.orderLevel = orderLevel;
        }

        public String getDays() {
            return days;
        }

        public void setDays(String days) {
            this.days = days;
        }

        public long getStartDate() {
            return startDate;
        }

        public void setStartDate(long startDate) {
            this.startDate = startDate;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
